# 创建同一个对象

class Dog:
    sex = "unknown"
    def __new__(cls):  # cls表示创建的对象
        pass

dog = Dog() 
dog2 = Dog()
print(dog, dog2)
print(Dog.sex)



